export const processActionType = {
  getters: {
    getThesaurusUnit: "process/getThesaurusUnit",
  },
  mutations: {
    setThesaurusUnit: "process/setThesaurusUnit",
  },
};

export default {
  namespaced: false,
  state: {
    thesaurusUnit: null,
  },
  getters: {
    [processActionType.getters.getThesaurusUnit](state) {
      return state.thesaurusUnit;
    },
  },
  mutations: {
    [processActionType.mutations.setThesaurusUnit](state, val) {
      state.thesaurusUnit = val;
    },
  },
  actions: {},
};
